package com.ysy.logistics.service.stock;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysy.logistics.entities.echarts.HouseUsage;
import com.ysy.logistics.entities.stock.StoreHouse;
import com.ysy.logistics.util.PageInfo;

import java.util.List;

/**
 * @ClassDescription:
 * @Author:姚斯羽
 * @Create:2025/3/31 14:51
 **/
public interface StoreHouseService extends IService<StoreHouse> {

    Page<StoreHouse> listByPage(PageInfo<StoreHouse> pageInfo);

    List<StoreHouse> getCanUsedList(Integer needCapacity);

    List<HouseUsage> totalUsage();
}
